﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zj.OpenAuth.Domain.Interface
{
    /// <summary>
    /// multi dbcontext transaction,support distributed transaction service
    /// </summary>
    public interface IUnitWork : IDisposable
    {
        /// <summary>
        /// commit transaction
        /// </summary>
        void Commit();
    }
}
